package com.mujin.keji.collectionsystem.db.domain;

import android.arch.persistence.room.ColumnInfo;
import android.arch.persistence.room.Entity;
import android.arch.persistence.room.PrimaryKey;

/**
 * 外访条数
 */

@Entity(tableName = "rc_cp_visit_count")
public class VisitCountBean {

    //主键 自增长
    @PrimaryKey(autoGenerate = true)
    private Long id ;

    @ColumnInfo
    private String userName;

    @ColumnInfo(name = "waitVisit")
    private Integer waitVisit;

    @ColumnInfo(name = "visited")
    private Integer visited;

    @ColumnInfo(name = "finish")
    private Integer finish;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getWaitVisit() {
        return waitVisit;
    }

    public void setWaitVisit(Integer waitVisit) {
        this.waitVisit = waitVisit;
    }

    public Integer getVisited() {
        return visited;
    }

    public void setVisited(Integer visited) {
        this.visited = visited;
    }

    public Integer getFinish() {
        return finish;
    }

    public void setFinish(Integer finish) {
        this.finish = finish;
    }
}
